package com.lukk.service.impl;

import java.util.List;
import org.springframework.stereotype.Service;

import com.lukk.dao.ResourceDAO;
import com.lukk.pojo.Resource;
import com.lukk.service.IResourceService;

/**
 * 
 * ResourceServiceImpl 上午10:25:45
 * 
 * Copyright zhaocj Inc. All rights reserved.
 * Love ME Like Justin Bieber.
 */
@Service("resourceService")
public class ResourceServiceImpl implements IResourceService {
    @javax.annotation.Resource
    ResourceDAO resourceDAO;
    
	@Override
	public List<Resource> queryMenuResources() {
		return resourceDAO.queryMenuResources();
	}

	@Override
	public Integer[] queryMenuRightsByManager(Object key) {
		return resourceDAO.queryMenuRightsByManager(key);
	}

}